﻿using System;
using System.Collections.Generic;
using System.Linq;

namespace Recon.Portal.DataObjects
{
    public class Statement : IEquatable<Statement>
    {
        #region: Public Constructor
        public Statement()
        {

        }
        #endregion

        #region: Public Properties
        public string StatementID { get; set; }
        public string RemitterID { get; set; }
        public string CustomerID { get; set; }
        public string BankID { get; set; }
        public DateTime statementDate { get; set; }
        public DateTime postingDate { get; set; }
        public DateTime  valueDate { get; set; }
        public String referenceNumber { get; set; }
        public String transactionType { get; set; }        
        public String narration1 { get; set; }        
        public String narration2 { get; set; }
        public String narration3 { get; set; }
        public String narration4 { get; set; }
        public Double amount { get; set; }
        public double ReconciledAmount { get; set; }
        public double AmountToReconcile { get; set; }
        public string Status { get; set; }
        public bool IsPartial { get; set; }
        #endregion

         public bool Equals(Statement other)
        {
            if (other == null)
                return false;
            if (other.StatementID == StatementID)
                return true;

            return false;
        }

    }
}